<template>
    <div class="message">
        <span>{{ descs }}</span>
    </div>
</template>

<script>
import { defineComponent } from 'vue'

export default defineComponent({
    name: 'Desc',
    props: ['descs'],
    setup(props, ctx) {
        return {}
    }
})
</script>

<style scoped lang="scss">
.message {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    font-size: 16px;
    color: #ff8080;
    text-align: start;
    background-color: #fff2f2;

    span {
        display: inline-box;
        padding: 0 20px;
    }
}
</style>
